package com.example._03vehicle.pojo.entity;

import lombok.Data;

import java.util.Date;
@Data
public class Notice {
    /* id          bigint(20) PRIMARY KEY AUTO_INCREMENT,
    title       varchar(128)  NOT NULL COMMENT '通知标题',
    content     varchar(2000) NOT NULL COMMENT '通知的的内容',
    type        tinyint(1)    NOT NULL DEFAULT 0 COMMENT '状态：0公告，1通知',
    user_id     bigint(20)    NOT NULL COMMENT '用户id',
    create_time datetime(0)   NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '发布时间',
    update_time datetime(0)   NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
    status      tinyint(1)    NOT NULL DEFAULT 0 COMMENT '状态：0正常，1关闭'*/
    private Long id;
    private String title;
    private String content;
    private Integer type;
    private Long userId;
    private Date createTime;
    private Date updateTime;
    private Integer status;
}
